package com.itmayiedu.service.impl;

import com.itmayiedu.model.xmcyz.TeacherMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.Timestamp;

/**
 * Created by Devin on 2018/1/27.
 */
@Service
public class TeacherServiceImpl {
    @Autowired
    private TeacherMapper teacherMapper;

    public int add(String name,String sex,Timestamp createTime){
        return teacherMapper.insert(name,sex,createTime);
    }
}
